package com.ruoyi.project.cms.client.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * clientCURD对象 cms_client
 *
 * @author ruoyi
 * @date 2020-05-21
 */
public class CmsClient extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户编号 */
    private Integer cid;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String cname;

    /** 客户电话 */
    @Excel(name = "客户电话")
    private String phone;

    /** 客户邮箱 */
    @Excel(name = "客户邮箱")
    private String email;

    /** 客户地址 */
    @Excel(name = "客户地址")
    private String address;

    public void setCid(Integer cid)
    {
        this.cid = cid;
    }

    public Integer getCid()
    {
        return cid;
    }
    public void setCname(String cname)
    {
        this.cname = cname;
    }

    public String getCname()
    {
        return cname;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("cid", getCid())
                .append("cname", getCname())
                .append("phone", getPhone())
                .append("email", getEmail())
                .append("address", getAddress())
                .toString();
    }
}
